<?php 
echo CHtml::form('', 'POST', array('name'=>'langbox'));
?>
<div class="if-lg">
	<ul class="nav-u">
	<li class="eff"><a class="p-if"><span class="p-vh"><span class="langbox"><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/lang/<?php echo "$curr_language.png";?>" /><?php echo Yii::t("admin_backend",$Languages["$curr_language"]);?></span></span></a>
		<div class="pbm" style="display: none" >
			<ol>
						<?php 
						foreach($Languages as $key => $value):
							if($key!=$curr_language):
						?>
							<li><a href="#" onclick="$('#lang').attr('value','<?php echo $key;?>');document.langbox.submit();">
								<span class="langbox"><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/lang/<?php echo "$key.png";?>" /><?php echo $value;?></span>
							</a></li>
						<?php 
						endif;
						endforeach;?>
			</ol>
		</div>	
	</li>
</ul>
</div>
<input type="hidden" name="lang" id="lang" value="" />
<?php 
echo CHtml::endForm();
?>